npm run build

echo "暂停服务"

# ssh root@117.34.99.190 "pm2 stop bbs-site"

ssh root@117.34.99.190 "rm -rf /mnt/bbs/site/.nuxt"

ssh root@117.34.99.190 "rm -rf /mnt/bbs/site/.output"

scp -r .nuxt root@117.34.99.190:/mnt/bbs/site/

scp -r .output root@117.34.99.190:/mnt/bbs/site/

# scp ecosystem.config.js root@117.34.99.190:/mnt/bbs/site/

rm -rf .nuxt

rm -rf .output

# ssh root@117.34.99.190 "pm2 start bbs-site"c